FROM ubuntu:noble

# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
# 	apk update && \
# 	apk add gcc g++ git linux-headers openssl-dev

RUN \
	sed -i 's@//.*archive.ubuntu.com@//mirrors.ustc.edu.cn@g' /etc/apt/sources.list && \
	sed -i 's/security.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
	apt-get update

RUN apt-get install -y gcc g++ git wget
